import dayjs from "dayjs";
export const sbTypeSubBgColumns = [
    {
        prop: "sbTypeSubId",
        label: "社保类型子类ID",
        width: "140px",
    },

    {
        prop: "validYm",
        label: "生效年月",
        width: "80px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "gsBl",
        label: "公司比例",
        width: "80px",
    },
    {
        prop: "grBl",
        label: "个人比例",
        width: "80px",
    },
    {
        prop: "gsCash",
        label: "公司金额",
        width: "80px",
    },
    {
        prop: "grCash",
        label: "个人金额",
        width: "80px",
    },
    {
        prop: "oldGsBl",
        label: "原公司比例",
        width: "100px",
    },
    {
        prop: "oldGrBl",
        label: "原个人比例",
        width: "100px",
    },
    {
        prop: "oldGsCash",
        label: "原公司金额",
        width: "100px",
    },
    {
        prop: "oldGrCash",
        label: "原个人金额",
        width: "100px",
    },
    {
        prop: "makerStaffId",
        label: "操作员ID",
        width: "80px",
    },
    {
        prop: "makerStaffTruename",
        label: "操作人姓名",
        width: "100px",
    },

    {
        prop: "zdYm",
        label: "账单年月",
        width: "80px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },

    {
        prop: "repYm",
        label: "报表年月",
        width: "80px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    }
];
